#替换字符串
sed -i s/127.0.0.1/10.215.4.37/g /opt/tomcat/webapps/$1/WEB-INF/classes\/xxl-conf.properties
sed -i s!127.0.0.1:3307!10.215.4.37:3306!g /opt/tomcat/webapps/$1/WEB-INF/classes\/jdbc.properties
#启动tomcat
/opt/tomcat/bin/catalina.sh run